```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTTP请求参数详解 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', 'Noto Serif SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
        }
        .code-block {
            background-color: #2d3748;
            color: #e2e8f0;
            border-radius: 0.5rem;
            padding: 1.5rem;
            position: relative;
        }
        .code-block pre {
            margin: 0;
            overflow-x: auto;
        }
        .code-block:before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 2.5rem;
            background-color: rgba(255,255,255,0.1);
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
        }
        .card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 0.75rem;
            overflow: hidden;
            background-color: white;
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 4rem;
            line-height: 0.8;
            margin: 0.1em 0.2em 0 0;
            color: #4f46e5;
            font-weight: 700;
        }
        .section-divider {
            height: 1px;
            background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(79,70,229,0.5) 50%, rgba(0,0,0,0) 100%);
            margin: 3rem 0;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20">
        <div class="container mx-auto px-6 max-w-5xl">
            <div class="flex flex-col items-center text-center">
                <h1 class="text-4xl md:text-5xl font-bold mb-4">HTTP请求参数详解</h1>
                <p class="text-xl md:text-2xl max-w-3xl mb-8 opacity-90">探索现代Web开发中的HTTP请求参数传递方式</p>
                <div class="flex space-x-4">
                    <a href="#video-section" class="px-6 py-3 bg-white text-indigo-600 font-semibold rounded-lg hover:bg-opacity-90 transition">
                        <i class="fas fa-play mr-2"></i>观看视频
                    </a>
                    <a href="#request-types" class="px-6 py-3 border border-white text-white font-semibold rounded-lg hover:bg-white hover:bg-opacity-10 transition">
                        <i class="fas fa-book-open mr-2"></i>开始阅读
                    </a>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto px-6 py-12 max-w-5xl">
        <!-- URL Structure Section -->
        <section id="url-structure" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-link text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">请求地址详情</h2>
            </div>
            
            <div class="card p-6 mb-8">
                <p class="text-gray-700 mb-4">网址一般都有以下几部分组成</p>
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653546015890-6c582abc-9b78-4997-9f53-ddf5ac44e384.png" alt="URL结构图" class="rounded-lg shadow-md w-full">
            </div>
            
            <div class="flex justify-center my-8">
                <a href="https://pan.baidu.com/s/1JL9tpA4yYM7Ib7xTNSTrOA" target="_blank" class="inline-flex items-center px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
                    <i class="fas fa-download mr-2"></i>下载视频 (提取码: vumj)
                </a>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Request Types Section -->
        <section id="request-types" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-paper-plane text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">发送请求常见的参数传递方式</h2>
            </div>
            
            <div class="grid md:grid-cols-2 gap-6 mb-8">
                <div class="card p-6">
                    <div class="flex items-center mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <span class="text-indigo-600 font-bold">1</span>
                        </div>
                        <h3 class="text-lg font-semibold">查询参数传递</h3>
                    </div>
                    <p class="text-gray-700">参数附加在URL的查询字符串中，格式为 <code class="bg-gray-100 px-1 py-0.5 rounded">?key1=value1&key2=value2</code></p>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-center mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <span class="text-indigo-600 font-bold">2</span>
                        </div>
                        <h3 class="text-lg font-semibold">RESTful风格</h3>
                    </div>
                    <p class="text-gray-700">参数直接嵌入在URL路径中，例如 <code class="bg-gray-100 px-1 py-0.5 rounded">/users/123</code></p>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-center mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <span class="text-indigo-600 font-bold">3</span>
                        </div>
                        <h3 class="text-lg font-semibold">请求头传递</h3>
                    </div>
                    <p class="text-gray-700">如Cookie等敏感信息通常放在HTTP请求头中传递</p>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-center mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <span class="text-indigo-600 font-bold">4</span>
                        </div>
                        <h3 class="text-lg font-semibold">请求体传递</h3>
                    </div>
                    <p class="text-gray-700">适合大量数据，如表单数据或JSON格式数据</p>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Packet Capture Section -->
        <section id="packet-capture" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-network-wired text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">抓包数据解析</h2>
            </div>
            
            <div class="drop-cap text-gray-700 mb-8">
                <p>任何一个请求发送出去都会有一个请求报文和响应报文，请求报文中就放了请求相关的数据，响应相关的数据都在响应报文中。</p>
            </div>
            
            <div class="grid md:grid-cols-2 gap-8">
                <div class="card overflow-hidden">
                    <div class="bg-indigo-600 text-white px-4 py-3">
                        <h3 class="font-semibold">请求报文</h3>
                    </div>
                    <div class="p-6">
                        <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653546804038-f0c9bb64-611f-45ee-935e-e88aaf19ada6.png" alt="示例请求" class="mb-4 rounded w-full">
                        <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653546913245-f84e9540-4038-417e-a43b-f5276de78f40.png" alt="请求报文结构" class="rounded w-full">
                        <div class="mt-4 space-y-3">
                            <p><span class="font-semibold">请求行</span>：包含请求方式、请求地址和协议版本</p>
                            <p><span class="font-semibold">请求头</span>：包含元数据如Content-Type、Cookie等</p>
                            <p><span class="font-semibold">空行</span>：分隔请求头和请求体</p>
                            <p><span class="font-semibold">请求体</span>：包含要发送的实际数据</p>
                        </div>
                    </div>
                </div>
                
                <div class="card overflow-hidden">
                    <div class="bg-indigo-600 text-white px-4 py-3">
                        <h3 class="font-semibold">响应报文</h3>
                    </div>
                    <div class="p-6">
                        <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653547402102-51b1a69b-940d-4fe5-8f06-656cc6cc2073.png" alt="响应报文结构" class="mb-4 rounded w-full">
                        <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653547630674-203005e6-e661-40ca-b8c4-bdf460a44ae8.png" alt="响应报文详情" class="rounded w-full">
                        <div class="mt-4 space-y-3">
                            <p><span class="font-semibold">响应行</span>：包含协议版本、状态码和状态消息</p>
                            <p><span class="font-semibold">响应头</span>：包含元数据如Set-Cookie、Content-Type等</p>
                            <p><span class="font-semibold">空行</span>：分隔响应头和响应体</p>
                            <p><span class="font-semibold">响应体</span>：包含服务器返回的实际数据</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Form Parameters Section -->
        <section id="form-parameters" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-list text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">表单参数</h2>
            </div>
            
            <div class="card p-6 mb-8">
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653547988602-aadce5b2-de95-4ff7-8440-2dfc00a81c0d.png" alt="表单参数示例" class="rounded-lg mb-6 w-full">
                
                <h3 class="text-xl font-semibold mb-4 text-gray-800">服务端接收</h3>
                <div class="code-block mb-6">
                    <pre><code class="language-java">@PostMapping("/test3")
public Map&lt;String,Object&gt; test3(@RequestParam Map&lt;String,Object&gt; param) {
    System.out.println("param = " + param);
    Map&lt;String,Object&gt; map = new HashMap&lt;&gt;();
    map.put("code",200);
    map.put("msg","ok");
    return map;
}</code></pre>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- JSON Parameters Section -->
        <section id="json-parameters" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-code text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">JSON参数</h2>
            </div>
            
            <div class="card p-6 mb-8">
                <img src="https://cdn.nlark.com/yuque/0/2022/png/21449790/1653547727505-0969ed97-dcfd-4b4a-84c9-c739774d48c4.png" alt="JSON参数示例" class="rounded-lg mb-6 w-full">
                
                <h3 class="text-xl font-semibold mb-4 text-gray-800">服务端接收</h3>
                <div class="code-block">
                    <pre><code class="language-java">@PostMapping("/test2") // 接收JSON格式的数据
public Map&lt;String,Object&gt; test2(@RequestBody Map&lt;String,Object&gt; param) {
    System.out.println("param = " + param);
    Map&lt;String,Object&gt; map = new HashMap&lt;&gt;();
    map.put("code",200);
    map.put("msg","ok");
    response.addCookie(cookie);
    return map;
}</code></pre>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Common Annotations Section -->
        <section id="common-annotations">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-tags text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">常用注解</h2>
            </div>
            
            <div class="grid md:grid-cols-2 gap-6">
                <div class="card p-6">
                    <div class="flex items-start mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <i class="fas fa-at text-indigo-600"></i>
                        </div>
                        <div>
                            <h3 class="text-lg font-semibold">@RequestParam</h3>
                            <p class="text-gray-700">从查询参数取值(?name=admin)</p>
                        </div>
                    </div>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-start mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <i class="fas fa-at text-indigo-600"></i>
                        </div>
                        <div>
                            <h3 class="text-lg font-semibold">@PathVariable</h3>
                            <p class="text-gray-700">地址栏上面取值(/100)</p>
                        </div>
                    </div>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-start mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <i class="fas fa-at text-indigo-600"></i>
                        </div>
                        <div>
                            <h3 class="text-lg font-semibold">@RequestBody</h3>
                            <p class="text-gray-700">接受JSON格式的数据</p>
                        </div>
                    </div>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-start mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <i class="fas fa-at text-indigo-600"></i>
                        </div>
                        <div>
                            <h3 class="text-lg font-semibold">@RequestHeader</h3>
                            <p class="text-gray-700">从请求头中获取</p>
                        </div>
                    </div>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-start mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <i class="fas fa-at text-indigo-600"></i>
                        </div>
                        <div>
                            <h3 class="text-lg font-semibold">@CookieValue</h3>
                            <p class="text-gray-700">从Cookie中获取</p>
                        </div>
                    </div>
                </div>
                
                <div class="card p-6">
                    <div class="flex items-start mb-4">
                        <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
                            <i class="fas fa-at text-indigo-600"></i>
                        </div>
                        <div>
                            <h3 class="text-lg font-semibold">@ResponseBody</h3>
                            <p class="text-gray-700">把Controller的返回值以JSON的形式放到响应体中</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Data Visualization -->
        <section id="data-visualization" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-project-diagram text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">HTTP请求参数关系图</h2>
            </div>
            
            <div class="card p-6">
                <div class="mermaid">
                    graph TD
                    A[HTTP请求] --> B[请求行]
                    A --> C[请求头]
                    A --> D[请求体]
                    
                    B --> B1[方法: GET/POST...]
                    B --> B2[URL]
                    B --> B3[协议版本]
                    
                    C --> C1[Content-Type]
                    C --> C2[Cookie]
                    C --> C3[User-Agent]
                    C --> C4[...其他头部]
                    
                    D --> D1[表单数据]
                    D --> D2[JSON数据]
                    D --> D3[文件上传]
                    
                    style A fill:#4f46e5,color:white
                    style B fill:#6366f1,color:white
                    style C fill:#6366f1,color:white
                    style D fill:#6366f1,color:white
                </div>
            </div>
        </section>

        <!-- Video Section -->
        <section id="video-section" class="mb-16">
            <div class="flex items-center mb-6">
                <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                    <i class="fas fa-video text-indigo-600"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">视频资源</h2>
            </div>
            
            <div class="card p-6">
                <div class="flex flex-col items-center">
                    <div class="w-full max-w-2xl bg-gray-200 rounded-lg overflow-hidden mb-4" style="height: 300px; background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
                        <div class="h-full flex items-center justify-center text-white">
                            <div class="text-center">
                                <i class="fas fa-play-circle text-6xl mb-4"></i>
                                <p class="text-xl font-semibold">HTTP请求参数详解视频教程</p>
                                <p class="mt-2">请点击下方链接下载观看</p>
                            </div>
                        </div>
                    </div>
                    <a href="https://pan.baidu.com/s/1JL9tpA4yYM7Ib7xTNSTrOA" target="_blank" class="inline-flex items-center px-6 py-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
                        <i class="fas fa-download mr-2"></i>下载视频 (提取码: vumj)
                    </a>
                </div>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-8">
        <div class="container mx-auto px-6 max-w-5xl">
            <div class="flex flex-col items-center">
                <div class="text-lg font-medium mb-2">技术小馆</div>
                <a href="http://www.yuque.com/jtostring" target="_blank" class="text-indigo-400 hover:text-indigo-300 transition">http://www.yuque.com/jtostring</a>
            </div>
        </div>
    </footer>

    <script>
        // Initialize Mermaid
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: false,
                htmlLabels: true,
                curve: 'basis'
            }
        });
        
        // Smooth scrolling for anchor links
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
    </script>
</body>
</html>
```